package com.woniuxy.servcie.impl;

import com.woniuxy.dao.StudentsDao;
import com.woniuxy.entity.Students;
import com.woniuxy.servcie.StudentsServcie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 佘赛飞
 * @create 2021 -11 -08 7:06 PM
 */
@Service("studentsServcie")
public class StudentsServiceImpl implements StudentsServcie {

    @Autowired
    StudentsDao studentsDao;

    @Override
    public void addStudents(Students students) {
      studentsDao.insertStudent(students);
    }
}
